package com.kaifamiao.demo.d0717;

import java.util.Scanner;

public class Demo05 {

    public static void main(String[] args) {
        System.out.println("输入年龄：");
        Scanner sc = new Scanner(System.in);

        int age = sc.nextInt();

        if (age >= 18) {
            System.out.println("带你去网吧上网");
        } else if(age >= 13) {
            System.out.println("带你去图书馆");
        } else {
            System.out.println("带你去游乐场");
        }

        System.out.println("end");



    }
}
